package com.molichuxing.gateway.bff.car.services;

import java.util.List;
import java.util.Map;

import com.molichuxing.framework.dto.Paged;
import com.molichuxing.gateway.bff.car.entity.request.modify.CarsViolationModifyVo;
import com.molichuxing.gateway.bff.car.entity.response.CarsViolationVo;

/**
 * 年检BFF
 * @author xuelin yi
 */
public interface ViolationBffService {

	/**
	 * 根据车辆id查询违章信息
	 * @param carId
	 * @return
	 */
	List<CarsViolationVo> getCarsViolationByCarId(Integer carId);

	/**
	 * 违章列表
	 * @param params
	 * @param pageNum
	 * @param pageSize
	 * @return
	 */
	Paged<CarsViolationVo> getCarsViolationPaged(Map<String, Object> params, Integer pageNum, Integer pageSize) throws Exception;
	
	/**
	 * 获取车辆违章(根据车辆vin查询违章信息)
	 * @param params
	 * @param pageNum
	 * @param pageSize
	 * @return
	 */
	Paged<CarsViolationVo> getCarsViolationQueryPaged(Map<String, Object> params, Integer pageNum, Integer pageSize) throws Exception;
	
	/**
	 * 根据id修改 违章状态
	 * @param modifyVo
	 * @return
	 */
	Boolean modifyStatusById(CarsViolationModifyVo modifyVo);
}
